package com.zld.smarket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ShelvesonList {
    private Long id;

    private Long shelvesonNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shelvesonDate;

    private Long goodsNo;

    private String goodsName;

    private String goodsUnit;

    private Long shelvesonNum;

    private Long supplierId;

    private String supplierName;

    private Long shelvesNo;

    private String shelvesName;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShelvesonNo() {
        return shelvesonNo;
    }

    public void setShelvesonNo(Long shelvesonNo) {
        this.shelvesonNo = shelvesonNo;
    }

    public Date getShelvesonDate() {
        return shelvesonDate;
    }

    public void setShelvesonDate(Date shelvesonDate) {
        this.shelvesonDate = shelvesonDate;
    }

    public Long getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(Long goodsNo) {
        this.goodsNo = goodsNo;
    }

    public Long getShelvesonNum() {
        return shelvesonNum;
    }

    public void setShelvesonNum(Long shelvesonNum) {
        this.shelvesonNum = shelvesonNum;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getShelvesNo() {
        return shelvesNo;
    }

    public void setShelvesNo(Long shelvesNo) {
        this.shelvesNo = shelvesNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit == null ? null : goodsUnit.trim();
    }


    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getShelvesName() {
        return shelvesName;
    }

    public void setShelvesName(String shelvesName) {
        this.shelvesName = shelvesName == null ? null : shelvesName.trim();
    }


}
